package com.chenjun.common.model;

import java.io.Serializable;

public class DataGridSortModel implements Serializable{
	
	public static final String ASC = "ASC";
	public static final String DESC = "DESC";
	private String sortBy = "id";
	private String order = ASC;

	public DataGridSortModel(String sortBy, String order) {
		this.sortBy = sortBy;
		this.order = order;
	}

	public String getSortBy() {
		return sortBy;
	}

	public void setSortBy(String sortBy) {
		this.sortBy = sortBy;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

}
